#ifndef DIALOG_H
#define DIALOG_H

#include <QDialog>

namespace Ui
{
    class Dialog;
}

class RoundHandler;
class QGraphicsScene;

class Dialog : public QDialog
{
    Q_OBJECT

public:
    explicit Dialog(QWidget *parent = 0);
    ~Dialog();


private:
    Ui::Dialog *ui;
    RoundHandler *_handler;
    QGraphicsScene *_scene;

    void initScene();

    void calc();

    int _x, _y, _z;

public slots:
    void newCoordinates(QPointF);
    void newZ(int);
};

#endif // DIALOG_H
